package cn.thr.ymcc;

import cn.thr.ymcc.config.DataSourceConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
@EnableFeignClients("cn.thr.ymcc.client")
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class})
@EnableCaching  //自动开启springCaching
public class CourseServiceApp {
    public static void main(String[] args) {
        SpringApplication.run(CourseServiceApp.class);
    }
}
